<template>
  <div id="box">
    <h1>学生信息</h1>
    <p>姓名:{{name}}</p>
    <p>年龄:{{age}}</p>
    <p>班级:{{clazz}}</p>
  </div>
</template>

<script>
export default {
  name: "StudentView",
  data(){
    return{
      name:'tom',
      age:20,
      clazz:'python2512'
    }
  }
}
</script>

<style scoped>

#box{
  width: 300px;
  height: 300px;
  border: 1px solid red;
}

</style>
